package com.njlime.member.repository.app;

import com.njlime.cms.entities.PublishReport;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Map;

/**
 * Created by Dean on 2017-10-09.
 */
public interface AppPublishReportDao extends JpaRepository<PublishReport, Integer>,JpaSpecificationExecutor<PublishReport> {
    Map<String,Object> findReport(String date, Integer id, Integer unit_id, Integer business_type);
    void updateReading(Integer id);
}
